package cc.mrbird.febs.power.service.impl;

import cc.mrbird.febs.power.entity.AccountBindAppInfo;
import cc.mrbird.febs.power.dao.AccountBindAppInfoMapper;
import cc.mrbird.febs.power.service.IAccountBindAppInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author MrBird
 */
@Service
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class AccountBindAppInfoServiceImpl extends ServiceImpl<AccountBindAppInfoMapper, AccountBindAppInfo> implements IAccountBindAppInfoService {

    private final AccountBindAppInfoMapper accountBindAppInfoMapper;

    @Override
    public List<Map> getAppInfoByAccount(Integer accountId) {
        return accountBindAppInfoMapper.getAppInfoByAccount(accountId);
    }
}
